import Vue from 'vue'
import Router from 'vue-router'
//syj
import psuserVue from '../components/Business/系统管理/用户管理/psuser.vue'
import ConfigurationVue from '../components/Business/系统管理/系统配置/Configuration.vue'
import premissionVue from '../components/Business/系统管理/角色权限配置/premission.vue'
import psroleVue from '../components/Business/系统管理/角色管理/psrole.vue'
//cx
import backlogVue from '../workbench/backlog.vue'
import messageVue from '../workbench/message.vue'
import yonghuVue from '../workbench/yonghu.vue'
//wyd
import defectTypeVue from '../components/Business/缺陷管理/缺陷类型设置/defectType.vue'
import gradeVue from '../components/Business/缺陷管理/缺陷等级确认/grade.vue'
//yt
import LineManagementViewVue from '../components/LineInfo/LineManagementView.vue'
import PoleInfoViewVue from '../components/PoleInfo/PoleInfoView.vue'
//xm
import PsInspectiontaskMainVue from '../components/Business/巡检任务管理/PsInspectiontaskMain.vue'
Vue.use(Router)

export default new Router({

	routes: [{
		//角色管理vue路由
		path: '/psroleVue',
		name: 'psroleVue',
		component: psroleVue
	}, {
		//角色权限配置
		path: '/premissionVue',
		name: 'premissionVue',
		component: premissionVue
	}, {
		//系统配置
		path: '/ConfigurationVue',
		name: 'ConfigurationVue',
		component: ConfigurationVue
	}, {
		//用户管理vue路由
		path: '/psuserVue',
		name: 'psuserVue',
		component: psuserVue
	}, {
		path: '/backlogVue',
		name: 'backlogVue',
		component: backlogVue
	}, {
		path: '/yonghuVue',
		name: 'yonghuVue',
		component: yonghuVue
	}, {
		path: '/messageVue',
		name: 'messageVue',
		component: messageVue
	}, {
		path: '/defectTypeVue',
		name: 'defectTypeVue',
		component: defectTypeVue
	}, {
		path: '/gradeVue',
		name: 'gradeVue',
		component: gradeVue
	}, {
		path: '/Line',
		name: 'Line',
		component: LineManagementViewVue
	}, {
		path: '/Pole',
		name: 'Pole',
		component: PoleInfoViewVue
	}, {
		path: '/PsInspectiontaskMainVue',
		name: 'PsInspectiontaskMainVue',
		component: PsInspectiontaskMainVue
	}]
})